<template>
	<view class="user-block pintuan-block" style="background: #fff7f5;">
		<view class="flex-row flex-y-center pintuan-header" style="height: 80upx;padding: 0 20upx;">
			<view class="flex-grow-1 flex-y-bottom">
				<image :src="__wxapp_img.pt.text.url" style="width: 88upx;height: 40upx;margin-right: 20upx"></image>
				<view style="color: #aaa;font-size: 9pt;line-height: 1.2">限量拼团，每日必逛</view>
			</view>
			<view class="flex-grow-0">
				<navigator class="flex-y-center" url="/pages/pt/index/index">
					<view style="margin-right: 14upx">更多</view>
					<image :src="__wxapp_img.dapp.jiantou_r.url" style="width: 12upx;height: 22upx"></image>
				</navigator>
			</view>
		</view>
		<scroll-view scrollX="true">
			<view class="flex-row pintuan-goods-list" style="padding: 0 20upx 20upx">
				<navigator class="flex-grow-0" style="background: #fff;width: 260upx;" :url="'/pages/pt/details/details?gid='+item.id"
				 v-for="item in pintuan.goods_list" :key="item.id">
					<form @submit="$emit('_formIdSubmit',$event)" reportSubmit="true">
						<button formType="submit" id="_formIdSubmit" class="_formIdSubmit">
							<view style="padding:24upx 20upx;">
								<image mode="aspectFill" :src="item.pic" style="width: 220upx;height: 220upx;margin-bottom: 12upx;"></image>
								<view style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;font-size: 9pt;margin-bottom: 16upx;">
									{{item.name}}
								</view>
								<view style="color:#ff4544;line-height: 1">
									<text style="font-size: 9pt">￥</text>
									<text style="font-weight: bold">{{item.price}}</text>
								</view>
							</view>
							<view style="font-size: 9pt;color: #aaa;padding:10upx 20upx;border-top: 1upx solid #eee">
								已拼{{item.sale_num}}
							</view>
						</button>
					</form>
				</navigator>
			</view>
		</scroll-view>
	</view>
</template>

<script>var myVue = {};
	export default {
		props: ['__wxapp_img','pintuan','item'],
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped>
</style>
